﻿using System.ComponentModel.DataAnnotations;
using W.Common;
using W.Common.Enum;
namespace W.Device.Domain
{
    /// <summary>
    /// 设备
    /// </summary>
    public class DevicesInfo:BaseModel
    {
        /// <summary>
        /// 设备管理id
        /// </summary>
        [Key]
        public int DeviceId { get; set; }
        /// <summary>
        /// 设备编号
        /// </summary>
        public string? DeviceNo { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string? DeviceName { get; set; }
        /// <summary>
        /// 授权标识符
        /// </summary>
        public string? DeviceAccreNo { get; set; }
        /// <summary>
        /// 是否授权
        /// </summary>
        public bool? IsAccre {  get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public EquipmentState? DeviceStatus { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? DeviceRemarks { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? user_id { get; set; }
    }
}
